<template>
  <div class="today-words">
    <p v-html="content"></p>
  </div>
</template>
<script>
export default {
  data () {
    return {
      content: ''
    }
  },
  activated () {
    this.content = localStorage.getItem('todayWords').replace(/\n/g, '<br>')
  },
  methods: {

  }
}
</script>
<style lang="scss">
.today-words {
  padding: 0 10px;
  font-size: 16px;
  line-height: 30px;
}
</style>
